let alerts = document.querySelector('.alert')
alerts.style.display = 'block'
alerts.innerHTML = `<i class="layui-icon layui-icon-close-fill;">&#x1007;</i> 登录成功`
setTimeout(function () {
    alerts.style.display = 'none'
},2000)